﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VehicleRecordSystem.service
{

    class VehicleService
    {
        private VehicleDB db;

        public VehicleService()
        {
            db = new VehicleDB();
        }

        public List<vrs_vehicle> viewVehicleList()
        {
            return db.Vehicle.ToList();
        }

    }
}
